package com.ebupt.migu.music.autoTri.util;

/**
 * @author xuhongsong
 * @version 1.0
 * @date 2020/7/27 16:02
 */
public class MarketingTypeFactory {
    /**
     * 执行
     * @param type
     * @return
     */
    public Sender produce(int type) {
        if (type== 2003) {
            return new AlbumSender();
        } else if (type==2033) {
            return new MvSender();
        } else if (type==2001){
            return new SongSender();
        }
        return null;
    }


}
